package sym.qrcode.encoder;

import java.awt.Color;

public class Mosaic {

    public static int DATA = 1;
    public static int ECC = 2;
    public static int CRUCIALFUNC = 3;
    public static int ORDINARYFUNC = 4;
    public static int BLANK = 5;
    public static int TRANSPARENT = 6;
    public static int IMAGE = 7;
    public static int FIND_PATTERN_CENTER = 1;
    public static int ALIGNMENT_PATTERN_CENTER = 2;
    public static int FIND_PATTERN_OUTER = 3;
    public static int ALIGNMENT_PATTERN_OUTER = 4;
    public static int HORIZONTAL_SEPARATION_PATTERN = 5;
    public static int VERTICAL_SEPARATION_PATTERN = 6;
    public static int FORMAT_INFO = 7;
    public static int VERSION_INFO = 8;
    public static int TIMING_PATTERN = 9;
    public static int DARK_DOT = 10;
    /////////////////////////////////////////
    public int type;
    public int func_type;
    //public int data = 0;
    public boolean isReverse = false;
    public Color color = Color.BLACK;

    public Color getColor() {
        return color;
    }

    public void setColor(Color color) {
        this.color = color;
    }

    public boolean isIsReverse() {
        return isReverse;
    }

    public void setIsReverse(boolean isReverse) {
        this.isReverse = isReverse;
    }

    public Mosaic() {
        type = BLANK;
    }
    private int blockID;
    private int seqCount;

    public int getBlockID() {
        return blockID;
    }

    public void setBlockID(int blockID) {
        this.blockID = blockID;
    }

    public int getSeqCount() {
        return seqCount;
    }

    public void setSeqCount(int seqCount) {
        this.seqCount = seqCount;
    }
    private int bitCount;

    public int getBitCount() {
        return bitCount;
    }

    public void setBitCount(int bitCount) {
        this.bitCount = bitCount;
    }
}
